""" 
多个led点亮
"""
#导入Pin模块
from machine import Pin
import time

led_pin_list = [15,2,0,4,16,17,5,18]
for pin_id in led_pin_list:
    led = Pin(pin_id,Pin.OUT)
    led.value(1)
    print("led {} is on".format(pin_id))
    time.sleep(1)